home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MacWorld 1999 January - Disc 2
/
Macworld (1999-01) (Disk 2).dmg
/
Shareware World
/
Comms & Internet
/
Anarchie Pro 3.0
/
Scripting
/
AppleScripts
/
DropPut Example 2
< prev
next >
Wrap
Text File
|
1998-08-28
|
423b
|
20 lines
-- demonstration of new Anarchie 2.0 feature
-- note lack of password in whereto URL, Anarchie 2.0 will
-- now prompt you for a password if it sees a username
-- inside the ftp URL
property whereto : "ftp://user:@host/path/"
on open doc
if doc's class is not list then
set doc to {doc}
end if
repeat with i in doc
tell application "Anarchie Pro"
activate
store i url whereto
end tell
end repeat
end open